package com.glw.sso.platform.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum GenderEnum {
    WOMEN(0, "女"),
    MEN(1, "男"),
    OTHER(2, "其他");

    @EnumValue
    private final int code;
    @JsonValue
    private final String descp;

    GenderEnum(int code, String descp) {
        this.code = code;
        this.descp = descp;
    }
}